﻿@using MVCDemo.Models
@model IEnumerable<MVCDemo.Models.Employee>

@{
    ViewBag.Title = "Index";
}

<h2>Employee List</h2>
<div style="font-family: Arial">
    <ul>
        @foreach (Employee employee in @Model)
        {
            <li>
                @Html.ActionLink(employee.Name, "Details", new {id = employee.EmployeeId})
            </li>
        }
    </ul>
</div>
@Html.ActionLink("Back To Department List","DepartmentList","Department")
